package com.example.basis.model;

import java.io.Serializable;

/**
 * @version 1.0.0
 * @className: User
 * @description:
 * @author: LiJunYi
 * @create: 2022/8/4 10:32
 */
public class User implements Serializable
{
    /**
     * 用户名
     */
    private String userName;

    /**
     * 年龄
     */
    private Integer age;

    public User()
    {

    }

    public User(String userName,Integer age)
    {
        this.age = age;
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "User{" +
                "userName='" + userName + '\'' +
                ", age=" + age +
                '}';
    }
}
